<!-- $Id: mail_template.htm 17002 2010-01-20 07:32:50Z wangleisvn $ -->
{if $full_page}

{include file="wxch_pageheader.htm"}

<div class="form-div" id="conent_area">

{/if}
<form method="post" name="theForm" action="wxch-ent.php?act=autoreg">

  <table id="general-table" align="center">
  <tr>
    <td style="font-weight: bold;color:#192E32; " width="20%">用户名前缀:</td>
    <td>
        <input type="text" name="username" value="{$data.autoreg_name}"/>
        <span> wx_+user_id 生成：wx_113</span>
    </td>
  </tr>
      <tr>
          <td style="font-weight: bold; color:#192E32;" width="20%">密码前缀:</td>
          <td><input type="text" name="userpwd" value="{$cfg.cfg_value}"/></td>
      </tr>
      <tr>
          <td style="font-weight: bold; color:#192E32;" width="20%">随机密码位数:</td>
          <td>
              <input type="text" name="rand" value="{$data.autoreg_rand}"/>
              <span> 密码前缀+随机密码 生成：wxch23159</span>
          </td>

      </tr>
  <tr>
    <td style="font-weight: bold;color:#192E32;" >状态:</td>
    <td>
      <input type="radio" name="state" value="1" {if $data.state eq '1'}checked="true"{/if} />开启
      <input type="radio" name="state" value="0" {if $data.state eq '0'}checked="true"{/if} />关闭

      <input type="hidden" name="tpl" value="{$tpl}" />
    </td>
  </tr>
  <tr>
    <td>提示模板：</td>
    <td>
        <textarea name="content" id="content" style="width:90%" rows="5" >{$data.autoreg_content}</textarea>

    </td>
  </tr>
  <tr>
      <td></td>
      <td><span>微信中换行用 \r\n</span></td>
  </tr>
  <tr>
    <td colspan="2" align="center"><input type="submit" value="{$lang.button_submit}" class="button" /></td>
  </tr>
  </table>
</form>

{if $full_page}

</div>

{include file="wxch_pagefooter.htm"}

{/if}